//
//  UIButton+Helper.h
//  Oscar
//
//  Created by cqck on 2018/3/29.
//  Copyright © 2018年 cqck. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Helper)

///垂直上图片下文字间距设置
- (void)verticalCenterImageAndTitle:(CGFloat)spacing;
- (void)verticalCenterImageAndTitle1:(CGFloat)spacing;
- (void)verticalCenterImageAndTitle:(CGFloat)spacing offset:(CGFloat)offset;
///左图片右文字间距设置
- (void)horizontalCenterTitleAndImageLeft:(CGFloat)spacing;
- (void)horizontalCenterTitleAndImage:(CGFloat)spacing;
- (void)horizontalCenterTitleAndImageRight:(CGFloat)spacing;

- (void)setEnlargeEdgeWithTop:(CGFloat)top right:(CGFloat)right bottom:(CGFloat)bottom left:(CGFloat)left;

- (void)setEnlargeEdge:(CGFloat) size;

@end
